package com.dhcc.bpm.modules.safe.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dhcc.bpm.modules.safe.entity.GateControl;
import com.dhcc.bpm.modules.safe.vo.GateControlVO;

/**
 * @ClassName IGateControlService
 * @Description 访问控制网关关联表 服务类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface IGateControlService extends IService<GateControl> {

    /**
     * @Description 自定义分页
     * @Author daina
     * @Date 15:13 2020/3/26
     * @param page
     * @param gateControl
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.safe.vo.GateControlVO>
     **/
    IPage<GateControlVO> selectGateControlPage(IPage<GateControlVO> page, GateControlVO gateControl);


    /**
     * @Description 批量选择网关
     * @Author daina
     * @Date 15:13 2020/3/26
     * @param opcControlId
     * @param ids
     * @return java.lang.Boolean
     **/
    Boolean batchControllerGate(Long opcControlId, String ids);

    /**
     * @Description 批量取消网关
     * @Author daina
     * @Date 15:14 2020/3/26
     * @param opcControlId
     * @param ids
     * @return int
     **/
    int deleteGateways(Long opcControlId, String ids);
}
